<!--{*Part of the CEFIRO project by dyrtech.com.ve. Copyleft GPLv3 2007. Please see the disclaimer at the root of the project: http://dyrtech.com.ve/cefiro/license.txt*}-->
<link type="text/css" rel="stylesheet" href="{$rombocss}">
<script type="text/javascript" src="{$tooltipjs}"></script>

<div id="{$name}" style="border: 0px; width:100px; height:100px;">
{if $form|default:formRombo == 'formRombo'}
    <form id="{$form|default:formRombo}" name="{$form|default:formRombo}">
{/if}
      <table class="{if $color|default:si eq 'si'}table-rombo{else}table-rombo-borde{/if}" cellpadding="0" cellspacing="0" border="0">
        <tr valign="center">
            <td valign="center">
                <table border="0" cellpadding="0" cellspacing="0" align="center">
                    <tr>
                      <td></td>
                      <td><input class="input-lbl-col" type="text" name="{$name}Rojo" id="{$name}Rojo" value="{$val_rojo|default:'?'}" size="1" maxlength="1" readonly="true" {if $sololectura|default:no == 'no'}
                        onclick="tooltip=getInput('{$name}', 'Rojo', 'input-rom-rojo', '{$form}', '{$sololectura}'); doTooltip(event, tooltip)"
                        onmouseout="hideTip()"{/if} title="Click para seleccionar un valor"></td>
                      <td></td>
                    </tr>
                    <tr>
                      <td><input class="input-lbl-col" type="text" name="{$name}Azul" id="{$name}Azul" value="{$val_azul|default:'?'}" size="1" maxlength="1" readonly="true"  {if $sololectura|default:no == 'no'}
                        onclick="tooltip=getInput('{$name}', 'Azul', 'input-rom-azul', '{$form}', '{$sololectura}'); doTooltip(event, tooltip)"
                        onmouseout="hideTip()"{/if} title="Click para seleccionar un valor"></td>
                      <td></td>
                      <td><input class="input-lbl-col" type="text" name="{$name}Amarillo" id="{$name}Amarillo" value="{$val_amarillo|default:'?'}" size="1" maxlength="1" readonly="true" {if $sololectura|default:no == 'no'}
                        onclick="tooltip=getInput('{$name}', 'Amarillo', 'input-rom-amarillo', '{$form}', '{$sololectura}'); doTooltip(event, tooltip)"
                        onmouseout="hideTip()"{/if} title="Click para seleccionar un valor"></td>
                    </tr>
                    <tr>
                      <td></td>
                      <td><input class="input-lbl-rombo" type="text" name="{$name}Blanco" id="{$name}Blanco" value="{$val_blanco|default:'?'}" size="5" maxlength="5" readonly="true"  {if $sololectura|default:no == 'no'}
                        onclick="tooltip=getInput('{$name}', 'Blanco', 'input-rom-blanco', '{$form}', '{$sololectura}'); doTooltip(event, tooltip)"
                        onmouseout="hideTip()"{/if} title="Click para seleccionar un valor"></td>
                      <td></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
{if $form == 'true'}
    </form>
{/if}
</div>